package com.share.example.javafx.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 2020-12-03
 * tc_dictionary
 */

@Data
@ApiModel("")
@Accessors(chain = true)
@TableName("tc_dictionary")
public class Dictionary implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "g_code")
    private String gCode;
    /**
     * 分组key值-唯一
     */
    private String code;
    /**
     * 值
     */
    private String value;
    /**
     * 描述
     */
    private String descrip;
    /**
     * 状态:0无效,1有效
     */
    private String status;
    @TableField(value = "create_time")
    private Date createTime;
}
